package com.ruoyi.db.domain.web;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【用户收货地址】对象 mp_client_address
 * 
 * @author ruoyi
 * @date 2022-07-26
 */
@ApiModel(value = "MpClientAddress",description = "【用户收货地址】对象 mp_client_address")
public class MpClientAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商城用户收货地址主键 */
    private Long addressId;

    /** 用户Id */
    @ApiModelProperty(value="用户Id",name="MpClientAddress$clientId")
    @Excel(name = "用户Id")
    private Long clientId;

    /** 联系电话 */
    @ApiModelProperty(value="联系电话",name="MpClientAddress$contactPhone")
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 是否默认地址 0：否，1：是 */
    @ApiModelProperty(value="是否默认地址 0：否，1：是",name="MpClientAddress$isDefault")
    @Excel(name = "是否默认地址 0：否，1：是")
    private Integer isDefault;

    /** 联系人 */
    @ApiModelProperty(value="联系人",name="MpClientAddress$contactName")
    @Excel(name = "联系人")
    private String contactName;

    /** $column.columnComment */
    @ApiModelProperty(value="${comment}",name="MpClientAddress$provinceName")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String provinceName;

    /** $column.columnComment */
    @ApiModelProperty(value="${comment}",name="MpClientAddress$cityName")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cityName;

    /** $column.columnComment */
    @ApiModelProperty(value="${comment}",name="MpClientAddress$countyName")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String countyName;

    /** $column.columnComment */
    @ApiModelProperty(value="${comment}",name="MpClientAddress$address")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String address;

    /** 是否删除 （0.否 1.是） */
    @ApiModelProperty(value="是否删除 ",name="MpClientAddress$isDel")
    @Excel(name = "是否删除 ", readConverterExp = "0=.否,1=.是")
    private Integer isDel;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setIsDefault(Integer isDefault) 
    {
        this.isDefault = isDefault;
    }

    public Integer getIsDefault() 
    {
        return isDefault;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setCountyName(String countyName) 
    {
        this.countyName = countyName;
    }

    public String getCountyName() 
    {
        return countyName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("clientId", getClientId())
            .append("contactPhone", getContactPhone())
            .append("isDefault", getIsDefault())
            .append("createTime", getCreateTime())
            .append("contactName", getContactName())
            .append("provinceName", getProvinceName())
            .append("cityName", getCityName())
            .append("countyName", getCountyName())
            .append("address", getAddress())
            .append("isDel", getIsDel())
            .toString();
    }
}
